package site.jlopen.kuscia.service.datasource;

import java.util.List;

import site.jlopen.kuscia.entity.GrpcApiInfo;
import site.jlopen.kuscia.model.dataSource.KusciaDataSourceInfo;
import site.jlopen.kuscia.model.dataSource.KusciaOssDataSourceInfo;

public abstract class AbstractDataSourceManager {

	public abstract String createDatasource(GrpcApiInfo apiInfo, String domainId, String dataSourceName,  KusciaOssDataSourceInfo sourceInfo);
	
	public abstract KusciaDataSourceInfo queryDataSource(GrpcApiInfo apiInfo, String domainId, String dataSourceId);
	
	public abstract void removeDataSource(GrpcApiInfo apiInfo, String domainId, String dataSourceId);
	
	public abstract List<KusciaDataSourceInfo> queryDataSources(GrpcApiInfo apiInfo, String domainId);
}
